package cn.qqy.org.service;

import cn.qqy.org.domain.Department;
import cn.qqy.org.domain.Employee;
import cn.qqy.org.utils.DepartmentQuery;
import cn.qqy.org.utils.PageList;

import java.util.List;

public interface IDepartmentService {

    void save(Department department);
    void update(Department department);
    void delete(Long id);
    List<Department> findall( );
    Department findid(Long id);

    PageList<Department> findid1(DepartmentQuery departmentQuery);

    List<Employee> findmanager();

    List<Department> findtree();

    void batchRemove(List<Long> ids);
}
